import http from '@/api/http'

// 商户进件
export const apply = (data) => {
 return http.post('/merchant/apply', data)
}
// 商户进件配置
export const applyConfig = () => {
 return http.get('/merchant/apply_config')
}
// 进件签约银行配置
export const getBankConfig = (data) => {
 return http.post('/merchant/get_bank_config',data)
}
// 我的商户列表
export const index = (data) => {
	return http.post('/merchant/index', data)
}
// 商户进件状态查询
export const review = (data) => {
	return http.post('/merchant/review', data)
}
// 商户进件状态查询
export const audit = (data) => {
	return http.post('/merchant/audit', data)
}
// 商户进件状态查询
export const detail = (data) => {
	return http.get('/merchant/detail', data)
}

export const sign_url = (data) => {
	return http.get('/merchant/sign_url', data)
}

export const ocr_url = (data) => {
	return http.post('/ocr/postDemo', data)
}


export default {
	apply,
	applyConfig,
	getBankConfig,
	index,
	review,
	audit,
	detail,
	sign_url,
	ocr_url
}
